package com.px.scserver.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName sc_collect
 */
@Accessors(chain = true)
@TableName(value = "sc_collect")
@Data
public class Collect implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 关联id
     */
    private Long undergraduateEnrollmentSchoolId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 是否在对比中，false未对比，true对比中
     */
    private Boolean comparison;

    /**
     * true 有效，可考
     */
    @TableField("`is_effective`")
    private Boolean effective;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}